package com.jhgk.jhcee.auth.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MajorInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MajorInfoExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andMajorUuidIsNull() {
            addCriterion("major_uuid is null");
            return (Criteria) this;
        }

        public Criteria andMajorUuidIsNotNull() {
            addCriterion("major_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andMajorUuidEqualTo(String value) {
            addCriterion("major_uuid =", value, "majorUuid");
            return (Criteria) this;
        }

        public Criteria andMajorUuidNotEqualTo(String value) {
            addCriterion("major_uuid <>", value, "majorUuid");
            return (Criteria) this;
        }

        public Criteria andMajorUuidGreaterThan(String value) {
            addCriterion("major_uuid >", value, "majorUuid");
            return (Criteria) this;
        }

        public Criteria andMajorUuidGreaterThanOrEqualTo(String value) {
            addCriterion("major_uuid >=", value, "majorUuid");
            return (Criteria) this;
        }

        public Criteria andMajorUuidLessThan(String value) {
            addCriterion("major_uuid <", value, "majorUuid");
            return (Criteria) this;
        }

        public Criteria andMajorUuidLessThanOrEqualTo(String value) {
            addCriterion("major_uuid <=", value, "majorUuid");
            return (Criteria) this;
        }

        public Criteria andMajorUuidLike(String value) {
            addCriterion("major_uuid like", value, "majorUuid");
            return (Criteria) this;
        }

        public Criteria andMajorUuidNotLike(String value) {
            addCriterion("major_uuid not like", value, "majorUuid");
            return (Criteria) this;
        }

        public Criteria andMajorUuidIn(List<String> values) {
            addCriterion("major_uuid in", values, "majorUuid");
            return (Criteria) this;
        }

        public Criteria andMajorUuidNotIn(List<String> values) {
            addCriterion("major_uuid not in", values, "majorUuid");
            return (Criteria) this;
        }

        public Criteria andMajorUuidBetween(String value1, String value2) {
            addCriterion("major_uuid between", value1, value2, "majorUuid");
            return (Criteria) this;
        }

        public Criteria andMajorUuidNotBetween(String value1, String value2) {
            addCriterion("major_uuid not between", value1, value2, "majorUuid");
            return (Criteria) this;
        }

        public Criteria andMajorNameIsNull() {
            addCriterion("major_name is null");
            return (Criteria) this;
        }

        public Criteria andMajorNameIsNotNull() {
            addCriterion("major_name is not null");
            return (Criteria) this;
        }

        public Criteria andMajorNameEqualTo(String value) {
            addCriterion("major_name =", value, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameNotEqualTo(String value) {
            addCriterion("major_name <>", value, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameGreaterThan(String value) {
            addCriterion("major_name >", value, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameGreaterThanOrEqualTo(String value) {
            addCriterion("major_name >=", value, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameLessThan(String value) {
            addCriterion("major_name <", value, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameLessThanOrEqualTo(String value) {
            addCriterion("major_name <=", value, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameLike(String value) {
            addCriterion("major_name like", value, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameNotLike(String value) {
            addCriterion("major_name not like", value, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameIn(List<String> values) {
            addCriterion("major_name in", values, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameNotIn(List<String> values) {
            addCriterion("major_name not in", values, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameBetween(String value1, String value2) {
            addCriterion("major_name between", value1, value2, "majorName");
            return (Criteria) this;
        }

        public Criteria andMajorNameNotBetween(String value1, String value2) {
            addCriterion("major_name not between", value1, value2, "majorName");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNull() {
            addCriterion("description is null");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNotNull() {
            addCriterion("description is not null");
            return (Criteria) this;
        }

        public Criteria andDescriptionEqualTo(String value) {
            addCriterion("description =", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotEqualTo(String value) {
            addCriterion("description <>", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThan(String value) {
            addCriterion("description >", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("description >=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThan(String value) {
            addCriterion("description <", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThanOrEqualTo(String value) {
            addCriterion("description <=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLike(String value) {
            addCriterion("description like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotLike(String value) {
            addCriterion("description not like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionIn(List<String> values) {
            addCriterion("description in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotIn(List<String> values) {
            addCriterion("description not in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionBetween(String value1, String value2) {
            addCriterion("description between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotBetween(String value1, String value2) {
            addCriterion("description not between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andMajorGroupUuidIsNull() {
            addCriterion("major_group_uuid is null");
            return (Criteria) this;
        }

        public Criteria andMajorGroupUuidIsNotNull() {
            addCriterion("major_group_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andMajorGroupUuidEqualTo(String value) {
            addCriterion("major_group_uuid =", value, "majorGroupUuid");
            return (Criteria) this;
        }

        public Criteria andMajorGroupUuidNotEqualTo(String value) {
            addCriterion("major_group_uuid <>", value, "majorGroupUuid");
            return (Criteria) this;
        }

        public Criteria andMajorGroupUuidGreaterThan(String value) {
            addCriterion("major_group_uuid >", value, "majorGroupUuid");
            return (Criteria) this;
        }

        public Criteria andMajorGroupUuidGreaterThanOrEqualTo(String value) {
            addCriterion("major_group_uuid >=", value, "majorGroupUuid");
            return (Criteria) this;
        }

        public Criteria andMajorGroupUuidLessThan(String value) {
            addCriterion("major_group_uuid <", value, "majorGroupUuid");
            return (Criteria) this;
        }

        public Criteria andMajorGroupUuidLessThanOrEqualTo(String value) {
            addCriterion("major_group_uuid <=", value, "majorGroupUuid");
            return (Criteria) this;
        }

        public Criteria andMajorGroupUuidLike(String value) {
            addCriterion("major_group_uuid like", value, "majorGroupUuid");
            return (Criteria) this;
        }

        public Criteria andMajorGroupUuidNotLike(String value) {
            addCriterion("major_group_uuid not like", value, "majorGroupUuid");
            return (Criteria) this;
        }

        public Criteria andMajorGroupUuidIn(List<String> values) {
            addCriterion("major_group_uuid in", values, "majorGroupUuid");
            return (Criteria) this;
        }

        public Criteria andMajorGroupUuidNotIn(List<String> values) {
            addCriterion("major_group_uuid not in", values, "majorGroupUuid");
            return (Criteria) this;
        }

        public Criteria andMajorGroupUuidBetween(String value1, String value2) {
            addCriterion("major_group_uuid between", value1, value2, "majorGroupUuid");
            return (Criteria) this;
        }

        public Criteria andMajorGroupUuidNotBetween(String value1, String value2) {
            addCriterion("major_group_uuid not between", value1, value2, "majorGroupUuid");
            return (Criteria) this;
        }

        public Criteria andMajorClassUuidIsNull() {
            addCriterion("major_class_uuid is null");
            return (Criteria) this;
        }

        public Criteria andMajorClassUuidIsNotNull() {
            addCriterion("major_class_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andMajorClassUuidEqualTo(String value) {
            addCriterion("major_class_uuid =", value, "majorClassUuid");
            return (Criteria) this;
        }

        public Criteria andMajorClassUuidNotEqualTo(String value) {
            addCriterion("major_class_uuid <>", value, "majorClassUuid");
            return (Criteria) this;
        }

        public Criteria andMajorClassUuidGreaterThan(String value) {
            addCriterion("major_class_uuid >", value, "majorClassUuid");
            return (Criteria) this;
        }

        public Criteria andMajorClassUuidGreaterThanOrEqualTo(String value) {
            addCriterion("major_class_uuid >=", value, "majorClassUuid");
            return (Criteria) this;
        }

        public Criteria andMajorClassUuidLessThan(String value) {
            addCriterion("major_class_uuid <", value, "majorClassUuid");
            return (Criteria) this;
        }

        public Criteria andMajorClassUuidLessThanOrEqualTo(String value) {
            addCriterion("major_class_uuid <=", value, "majorClassUuid");
            return (Criteria) this;
        }

        public Criteria andMajorClassUuidLike(String value) {
            addCriterion("major_class_uuid like", value, "majorClassUuid");
            return (Criteria) this;
        }

        public Criteria andMajorClassUuidNotLike(String value) {
            addCriterion("major_class_uuid not like", value, "majorClassUuid");
            return (Criteria) this;
        }

        public Criteria andMajorClassUuidIn(List<String> values) {
            addCriterion("major_class_uuid in", values, "majorClassUuid");
            return (Criteria) this;
        }

        public Criteria andMajorClassUuidNotIn(List<String> values) {
            addCriterion("major_class_uuid not in", values, "majorClassUuid");
            return (Criteria) this;
        }

        public Criteria andMajorClassUuidBetween(String value1, String value2) {
            addCriterion("major_class_uuid between", value1, value2, "majorClassUuid");
            return (Criteria) this;
        }

        public Criteria andMajorClassUuidNotBetween(String value1, String value2) {
            addCriterion("major_class_uuid not between", value1, value2, "majorClassUuid");
            return (Criteria) this;
        }

        public Criteria andEducationLevelIsNull() {
            addCriterion("education_level is null");
            return (Criteria) this;
        }

        public Criteria andEducationLevelIsNotNull() {
            addCriterion("education_level is not null");
            return (Criteria) this;
        }

        public Criteria andEducationLevelEqualTo(String value) {
            addCriterion("education_level =", value, "educationLevel");
            return (Criteria) this;
        }

        public Criteria andEducationLevelNotEqualTo(String value) {
            addCriterion("education_level <>", value, "educationLevel");
            return (Criteria) this;
        }

        public Criteria andEducationLevelGreaterThan(String value) {
            addCriterion("education_level >", value, "educationLevel");
            return (Criteria) this;
        }

        public Criteria andEducationLevelGreaterThanOrEqualTo(String value) {
            addCriterion("education_level >=", value, "educationLevel");
            return (Criteria) this;
        }

        public Criteria andEducationLevelLessThan(String value) {
            addCriterion("education_level <", value, "educationLevel");
            return (Criteria) this;
        }

        public Criteria andEducationLevelLessThanOrEqualTo(String value) {
            addCriterion("education_level <=", value, "educationLevel");
            return (Criteria) this;
        }

        public Criteria andEducationLevelLike(String value) {
            addCriterion("education_level like", value, "educationLevel");
            return (Criteria) this;
        }

        public Criteria andEducationLevelNotLike(String value) {
            addCriterion("education_level not like", value, "educationLevel");
            return (Criteria) this;
        }

        public Criteria andEducationLevelIn(List<String> values) {
            addCriterion("education_level in", values, "educationLevel");
            return (Criteria) this;
        }

        public Criteria andEducationLevelNotIn(List<String> values) {
            addCriterion("education_level not in", values, "educationLevel");
            return (Criteria) this;
        }

        public Criteria andEducationLevelBetween(String value1, String value2) {
            addCriterion("education_level between", value1, value2, "educationLevel");
            return (Criteria) this;
        }

        public Criteria andEducationLevelNotBetween(String value1, String value2) {
            addCriterion("education_level not between", value1, value2, "educationLevel");
            return (Criteria) this;
        }

        public Criteria andEducationYearIsNull() {
            addCriterion("education_year is null");
            return (Criteria) this;
        }

        public Criteria andEducationYearIsNotNull() {
            addCriterion("education_year is not null");
            return (Criteria) this;
        }

        public Criteria andEducationYearEqualTo(String value) {
            addCriterion("education_year =", value, "educationYear");
            return (Criteria) this;
        }

        public Criteria andEducationYearNotEqualTo(String value) {
            addCriterion("education_year <>", value, "educationYear");
            return (Criteria) this;
        }

        public Criteria andEducationYearGreaterThan(String value) {
            addCriterion("education_year >", value, "educationYear");
            return (Criteria) this;
        }

        public Criteria andEducationYearGreaterThanOrEqualTo(String value) {
            addCriterion("education_year >=", value, "educationYear");
            return (Criteria) this;
        }

        public Criteria andEducationYearLessThan(String value) {
            addCriterion("education_year <", value, "educationYear");
            return (Criteria) this;
        }

        public Criteria andEducationYearLessThanOrEqualTo(String value) {
            addCriterion("education_year <=", value, "educationYear");
            return (Criteria) this;
        }

        public Criteria andEducationYearLike(String value) {
            addCriterion("education_year like", value, "educationYear");
            return (Criteria) this;
        }

        public Criteria andEducationYearNotLike(String value) {
            addCriterion("education_year not like", value, "educationYear");
            return (Criteria) this;
        }

        public Criteria andEducationYearIn(List<String> values) {
            addCriterion("education_year in", values, "educationYear");
            return (Criteria) this;
        }

        public Criteria andEducationYearNotIn(List<String> values) {
            addCriterion("education_year not in", values, "educationYear");
            return (Criteria) this;
        }

        public Criteria andEducationYearBetween(String value1, String value2) {
            addCriterion("education_year between", value1, value2, "educationYear");
            return (Criteria) this;
        }

        public Criteria andEducationYearNotBetween(String value1, String value2) {
            addCriterion("education_year not between", value1, value2, "educationYear");
            return (Criteria) this;
        }

        public Criteria andDegreeIsNull() {
            addCriterion("degree is null");
            return (Criteria) this;
        }

        public Criteria andDegreeIsNotNull() {
            addCriterion("degree is not null");
            return (Criteria) this;
        }

        public Criteria andDegreeEqualTo(String value) {
            addCriterion("degree =", value, "degree");
            return (Criteria) this;
        }

        public Criteria andDegreeNotEqualTo(String value) {
            addCriterion("degree <>", value, "degree");
            return (Criteria) this;
        }

        public Criteria andDegreeGreaterThan(String value) {
            addCriterion("degree >", value, "degree");
            return (Criteria) this;
        }

        public Criteria andDegreeGreaterThanOrEqualTo(String value) {
            addCriterion("degree >=", value, "degree");
            return (Criteria) this;
        }

        public Criteria andDegreeLessThan(String value) {
            addCriterion("degree <", value, "degree");
            return (Criteria) this;
        }

        public Criteria andDegreeLessThanOrEqualTo(String value) {
            addCriterion("degree <=", value, "degree");
            return (Criteria) this;
        }

        public Criteria andDegreeLike(String value) {
            addCriterion("degree like", value, "degree");
            return (Criteria) this;
        }

        public Criteria andDegreeNotLike(String value) {
            addCriterion("degree not like", value, "degree");
            return (Criteria) this;
        }

        public Criteria andDegreeIn(List<String> values) {
            addCriterion("degree in", values, "degree");
            return (Criteria) this;
        }

        public Criteria andDegreeNotIn(List<String> values) {
            addCriterion("degree not in", values, "degree");
            return (Criteria) this;
        }

        public Criteria andDegreeBetween(String value1, String value2) {
            addCriterion("degree between", value1, value2, "degree");
            return (Criteria) this;
        }

        public Criteria andDegreeNotBetween(String value1, String value2) {
            addCriterion("degree not between", value1, value2, "degree");
            return (Criteria) this;
        }

        public Criteria andTargetIsNull() {
            addCriterion("target is null");
            return (Criteria) this;
        }

        public Criteria andTargetIsNotNull() {
            addCriterion("target is not null");
            return (Criteria) this;
        }

        public Criteria andTargetEqualTo(String value) {
            addCriterion("target =", value, "target");
            return (Criteria) this;
        }

        public Criteria andTargetNotEqualTo(String value) {
            addCriterion("target <>", value, "target");
            return (Criteria) this;
        }

        public Criteria andTargetGreaterThan(String value) {
            addCriterion("target >", value, "target");
            return (Criteria) this;
        }

        public Criteria andTargetGreaterThanOrEqualTo(String value) {
            addCriterion("target >=", value, "target");
            return (Criteria) this;
        }

        public Criteria andTargetLessThan(String value) {
            addCriterion("target <", value, "target");
            return (Criteria) this;
        }

        public Criteria andTargetLessThanOrEqualTo(String value) {
            addCriterion("target <=", value, "target");
            return (Criteria) this;
        }

        public Criteria andTargetLike(String value) {
            addCriterion("target like", value, "target");
            return (Criteria) this;
        }

        public Criteria andTargetNotLike(String value) {
            addCriterion("target not like", value, "target");
            return (Criteria) this;
        }

        public Criteria andTargetIn(List<String> values) {
            addCriterion("target in", values, "target");
            return (Criteria) this;
        }

        public Criteria andTargetNotIn(List<String> values) {
            addCriterion("target not in", values, "target");
            return (Criteria) this;
        }

        public Criteria andTargetBetween(String value1, String value2) {
            addCriterion("target between", value1, value2, "target");
            return (Criteria) this;
        }

        public Criteria andTargetNotBetween(String value1, String value2) {
            addCriterion("target not between", value1, value2, "target");
            return (Criteria) this;
        }

        public Criteria andRequirementIsNull() {
            addCriterion("requirement is null");
            return (Criteria) this;
        }

        public Criteria andRequirementIsNotNull() {
            addCriterion("requirement is not null");
            return (Criteria) this;
        }

        public Criteria andRequirementEqualTo(String value) {
            addCriterion("requirement =", value, "requirement");
            return (Criteria) this;
        }

        public Criteria andRequirementNotEqualTo(String value) {
            addCriterion("requirement <>", value, "requirement");
            return (Criteria) this;
        }

        public Criteria andRequirementGreaterThan(String value) {
            addCriterion("requirement >", value, "requirement");
            return (Criteria) this;
        }

        public Criteria andRequirementGreaterThanOrEqualTo(String value) {
            addCriterion("requirement >=", value, "requirement");
            return (Criteria) this;
        }

        public Criteria andRequirementLessThan(String value) {
            addCriterion("requirement <", value, "requirement");
            return (Criteria) this;
        }

        public Criteria andRequirementLessThanOrEqualTo(String value) {
            addCriterion("requirement <=", value, "requirement");
            return (Criteria) this;
        }

        public Criteria andRequirementLike(String value) {
            addCriterion("requirement like", value, "requirement");
            return (Criteria) this;
        }

        public Criteria andRequirementNotLike(String value) {
            addCriterion("requirement not like", value, "requirement");
            return (Criteria) this;
        }

        public Criteria andRequirementIn(List<String> values) {
            addCriterion("requirement in", values, "requirement");
            return (Criteria) this;
        }

        public Criteria andRequirementNotIn(List<String> values) {
            addCriterion("requirement not in", values, "requirement");
            return (Criteria) this;
        }

        public Criteria andRequirementBetween(String value1, String value2) {
            addCriterion("requirement between", value1, value2, "requirement");
            return (Criteria) this;
        }

        public Criteria andRequirementNotBetween(String value1, String value2) {
            addCriterion("requirement not between", value1, value2, "requirement");
            return (Criteria) this;
        }

        public Criteria andIsHotIsNull() {
            addCriterion("is_hot is null");
            return (Criteria) this;
        }

        public Criteria andIsHotIsNotNull() {
            addCriterion("is_hot is not null");
            return (Criteria) this;
        }

        public Criteria andIsHotEqualTo(Boolean value) {
            addCriterion("is_hot =", value, "isHot");
            return (Criteria) this;
        }

        public Criteria andIsHotNotEqualTo(Boolean value) {
            addCriterion("is_hot <>", value, "isHot");
            return (Criteria) this;
        }

        public Criteria andIsHotGreaterThan(Boolean value) {
            addCriterion("is_hot >", value, "isHot");
            return (Criteria) this;
        }

        public Criteria andIsHotGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_hot >=", value, "isHot");
            return (Criteria) this;
        }

        public Criteria andIsHotLessThan(Boolean value) {
            addCriterion("is_hot <", value, "isHot");
            return (Criteria) this;
        }

        public Criteria andIsHotLessThanOrEqualTo(Boolean value) {
            addCriterion("is_hot <=", value, "isHot");
            return (Criteria) this;
        }

        public Criteria andIsHotIn(List<Boolean> values) {
            addCriterion("is_hot in", values, "isHot");
            return (Criteria) this;
        }

        public Criteria andIsHotNotIn(List<Boolean> values) {
            addCriterion("is_hot not in", values, "isHot");
            return (Criteria) this;
        }

        public Criteria andIsHotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_hot between", value1, value2, "isHot");
            return (Criteria) this;
        }

        public Criteria andIsHotNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_hot not between", value1, value2, "isHot");
            return (Criteria) this;
        }

        public Criteria andPracticeIsNull() {
            addCriterion("practice is null");
            return (Criteria) this;
        }

        public Criteria andPracticeIsNotNull() {
            addCriterion("practice is not null");
            return (Criteria) this;
        }

        public Criteria andPracticeEqualTo(String value) {
            addCriterion("practice =", value, "practice");
            return (Criteria) this;
        }

        public Criteria andPracticeNotEqualTo(String value) {
            addCriterion("practice <>", value, "practice");
            return (Criteria) this;
        }

        public Criteria andPracticeGreaterThan(String value) {
            addCriterion("practice >", value, "practice");
            return (Criteria) this;
        }

        public Criteria andPracticeGreaterThanOrEqualTo(String value) {
            addCriterion("practice >=", value, "practice");
            return (Criteria) this;
        }

        public Criteria andPracticeLessThan(String value) {
            addCriterion("practice <", value, "practice");
            return (Criteria) this;
        }

        public Criteria andPracticeLessThanOrEqualTo(String value) {
            addCriterion("practice <=", value, "practice");
            return (Criteria) this;
        }

        public Criteria andPracticeLike(String value) {
            addCriterion("practice like", value, "practice");
            return (Criteria) this;
        }

        public Criteria andPracticeNotLike(String value) {
            addCriterion("practice not like", value, "practice");
            return (Criteria) this;
        }

        public Criteria andPracticeIn(List<String> values) {
            addCriterion("practice in", values, "practice");
            return (Criteria) this;
        }

        public Criteria andPracticeNotIn(List<String> values) {
            addCriterion("practice not in", values, "practice");
            return (Criteria) this;
        }

        public Criteria andPracticeBetween(String value1, String value2) {
            addCriterion("practice between", value1, value2, "practice");
            return (Criteria) this;
        }

        public Criteria andPracticeNotBetween(String value1, String value2) {
            addCriterion("practice not between", value1, value2, "practice");
            return (Criteria) this;
        }

        public Criteria andKnowledgeIsNull() {
            addCriterion("knowledge is null");
            return (Criteria) this;
        }

        public Criteria andKnowledgeIsNotNull() {
            addCriterion("knowledge is not null");
            return (Criteria) this;
        }

        public Criteria andKnowledgeEqualTo(String value) {
            addCriterion("knowledge =", value, "knowledge");
            return (Criteria) this;
        }

        public Criteria andKnowledgeNotEqualTo(String value) {
            addCriterion("knowledge <>", value, "knowledge");
            return (Criteria) this;
        }

        public Criteria andKnowledgeGreaterThan(String value) {
            addCriterion("knowledge >", value, "knowledge");
            return (Criteria) this;
        }

        public Criteria andKnowledgeGreaterThanOrEqualTo(String value) {
            addCriterion("knowledge >=", value, "knowledge");
            return (Criteria) this;
        }

        public Criteria andKnowledgeLessThan(String value) {
            addCriterion("knowledge <", value, "knowledge");
            return (Criteria) this;
        }

        public Criteria andKnowledgeLessThanOrEqualTo(String value) {
            addCriterion("knowledge <=", value, "knowledge");
            return (Criteria) this;
        }

        public Criteria andKnowledgeLike(String value) {
            addCriterion("knowledge like", value, "knowledge");
            return (Criteria) this;
        }

        public Criteria andKnowledgeNotLike(String value) {
            addCriterion("knowledge not like", value, "knowledge");
            return (Criteria) this;
        }

        public Criteria andKnowledgeIn(List<String> values) {
            addCriterion("knowledge in", values, "knowledge");
            return (Criteria) this;
        }

        public Criteria andKnowledgeNotIn(List<String> values) {
            addCriterion("knowledge not in", values, "knowledge");
            return (Criteria) this;
        }

        public Criteria andKnowledgeBetween(String value1, String value2) {
            addCriterion("knowledge between", value1, value2, "knowledge");
            return (Criteria) this;
        }

        public Criteria andKnowledgeNotBetween(String value1, String value2) {
            addCriterion("knowledge not between", value1, value2, "knowledge");
            return (Criteria) this;
        }

        public Criteria andMainClassesIsNull() {
            addCriterion("main_classes is null");
            return (Criteria) this;
        }

        public Criteria andMainClassesIsNotNull() {
            addCriterion("main_classes is not null");
            return (Criteria) this;
        }

        public Criteria andMainClassesEqualTo(String value) {
            addCriterion("main_classes =", value, "mainClasses");
            return (Criteria) this;
        }

        public Criteria andMainClassesNotEqualTo(String value) {
            addCriterion("main_classes <>", value, "mainClasses");
            return (Criteria) this;
        }

        public Criteria andMainClassesGreaterThan(String value) {
            addCriterion("main_classes >", value, "mainClasses");
            return (Criteria) this;
        }

        public Criteria andMainClassesGreaterThanOrEqualTo(String value) {
            addCriterion("main_classes >=", value, "mainClasses");
            return (Criteria) this;
        }

        public Criteria andMainClassesLessThan(String value) {
            addCriterion("main_classes <", value, "mainClasses");
            return (Criteria) this;
        }

        public Criteria andMainClassesLessThanOrEqualTo(String value) {
            addCriterion("main_classes <=", value, "mainClasses");
            return (Criteria) this;
        }

        public Criteria andMainClassesLike(String value) {
            addCriterion("main_classes like", value, "mainClasses");
            return (Criteria) this;
        }

        public Criteria andMainClassesNotLike(String value) {
            addCriterion("main_classes not like", value, "mainClasses");
            return (Criteria) this;
        }

        public Criteria andMainClassesIn(List<String> values) {
            addCriterion("main_classes in", values, "mainClasses");
            return (Criteria) this;
        }

        public Criteria andMainClassesNotIn(List<String> values) {
            addCriterion("main_classes not in", values, "mainClasses");
            return (Criteria) this;
        }

        public Criteria andMainClassesBetween(String value1, String value2) {
            addCriterion("main_classes between", value1, value2, "mainClasses");
            return (Criteria) this;
        }

        public Criteria andMainClassesNotBetween(String value1, String value2) {
            addCriterion("main_classes not between", value1, value2, "mainClasses");
            return (Criteria) this;
        }

        public Criteria andSimilarClassesIsNull() {
            addCriterion("similar_classes is null");
            return (Criteria) this;
        }

        public Criteria andSimilarClassesIsNotNull() {
            addCriterion("similar_classes is not null");
            return (Criteria) this;
        }

        public Criteria andSimilarClassesEqualTo(String value) {
            addCriterion("similar_classes =", value, "similarClasses");
            return (Criteria) this;
        }

        public Criteria andSimilarClassesNotEqualTo(String value) {
            addCriterion("similar_classes <>", value, "similarClasses");
            return (Criteria) this;
        }

        public Criteria andSimilarClassesGreaterThan(String value) {
            addCriterion("similar_classes >", value, "similarClasses");
            return (Criteria) this;
        }

        public Criteria andSimilarClassesGreaterThanOrEqualTo(String value) {
            addCriterion("similar_classes >=", value, "similarClasses");
            return (Criteria) this;
        }

        public Criteria andSimilarClassesLessThan(String value) {
            addCriterion("similar_classes <", value, "similarClasses");
            return (Criteria) this;
        }

        public Criteria andSimilarClassesLessThanOrEqualTo(String value) {
            addCriterion("similar_classes <=", value, "similarClasses");
            return (Criteria) this;
        }

        public Criteria andSimilarClassesLike(String value) {
            addCriterion("similar_classes like", value, "similarClasses");
            return (Criteria) this;
        }

        public Criteria andSimilarClassesNotLike(String value) {
            addCriterion("similar_classes not like", value, "similarClasses");
            return (Criteria) this;
        }

        public Criteria andSimilarClassesIn(List<String> values) {
            addCriterion("similar_classes in", values, "similarClasses");
            return (Criteria) this;
        }

        public Criteria andSimilarClassesNotIn(List<String> values) {
            addCriterion("similar_classes not in", values, "similarClasses");
            return (Criteria) this;
        }

        public Criteria andSimilarClassesBetween(String value1, String value2) {
            addCriterion("similar_classes between", value1, value2, "similarClasses");
            return (Criteria) this;
        }

        public Criteria andSimilarClassesNotBetween(String value1, String value2) {
            addCriterion("similar_classes not between", value1, value2, "similarClasses");
            return (Criteria) this;
        }

        public Criteria andEducationIsNull() {
            addCriterion("education is null");
            return (Criteria) this;
        }

        public Criteria andEducationIsNotNull() {
            addCriterion("education is not null");
            return (Criteria) this;
        }

        public Criteria andEducationEqualTo(Boolean value) {
            addCriterion("education =", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationNotEqualTo(Boolean value) {
            addCriterion("education <>", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationGreaterThan(Boolean value) {
            addCriterion("education >", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationGreaterThanOrEqualTo(Boolean value) {
            addCriterion("education >=", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationLessThan(Boolean value) {
            addCriterion("education <", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationLessThanOrEqualTo(Boolean value) {
            addCriterion("education <=", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationIn(List<Boolean> values) {
            addCriterion("education in", values, "education");
            return (Criteria) this;
        }

        public Criteria andEducationNotIn(List<Boolean> values) {
            addCriterion("education not in", values, "education");
            return (Criteria) this;
        }

        public Criteria andEducationBetween(Boolean value1, Boolean value2) {
            addCriterion("education between", value1, value2, "education");
            return (Criteria) this;
        }

        public Criteria andEducationNotBetween(Boolean value1, Boolean value2) {
            addCriterion("education not between", value1, value2, "education");
            return (Criteria) this;
        }

        public Criteria andMajorStudyIsNull() {
            addCriterion("major_study is null");
            return (Criteria) this;
        }

        public Criteria andMajorStudyIsNotNull() {
            addCriterion("major_study is not null");
            return (Criteria) this;
        }

        public Criteria andMajorStudyEqualTo(Integer value) {
            addCriterion("major_study =", value, "majorStudy");
            return (Criteria) this;
        }

        public Criteria andMajorStudyNotEqualTo(Integer value) {
            addCriterion("major_study <>", value, "majorStudy");
            return (Criteria) this;
        }

        public Criteria andMajorStudyGreaterThan(Integer value) {
            addCriterion("major_study >", value, "majorStudy");
            return (Criteria) this;
        }

        public Criteria andMajorStudyGreaterThanOrEqualTo(Integer value) {
            addCriterion("major_study >=", value, "majorStudy");
            return (Criteria) this;
        }

        public Criteria andMajorStudyLessThan(Integer value) {
            addCriterion("major_study <", value, "majorStudy");
            return (Criteria) this;
        }

        public Criteria andMajorStudyLessThanOrEqualTo(Integer value) {
            addCriterion("major_study <=", value, "majorStudy");
            return (Criteria) this;
        }

        public Criteria andMajorStudyIn(List<Integer> values) {
            addCriterion("major_study in", values, "majorStudy");
            return (Criteria) this;
        }

        public Criteria andMajorStudyNotIn(List<Integer> values) {
            addCriterion("major_study not in", values, "majorStudy");
            return (Criteria) this;
        }

        public Criteria andMajorStudyBetween(Integer value1, Integer value2) {
            addCriterion("major_study between", value1, value2, "majorStudy");
            return (Criteria) this;
        }

        public Criteria andMajorStudyNotBetween(Integer value1, Integer value2) {
            addCriterion("major_study not between", value1, value2, "majorStudy");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNull() {
            addCriterion("create_user_id is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNotNull() {
            addCriterion("create_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdEqualTo(String value) {
            addCriterion("create_user_id =", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotEqualTo(String value) {
            addCriterion("create_user_id <>", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThan(String value) {
            addCriterion("create_user_id >", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("create_user_id >=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThan(String value) {
            addCriterion("create_user_id <", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThanOrEqualTo(String value) {
            addCriterion("create_user_id <=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLike(String value) {
            addCriterion("create_user_id like", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotLike(String value) {
            addCriterion("create_user_id not like", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIn(List<String> values) {
            addCriterion("create_user_id in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotIn(List<String> values) {
            addCriterion("create_user_id not in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdBetween(String value1, String value2) {
            addCriterion("create_user_id between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotBetween(String value1, String value2) {
            addCriterion("create_user_id not between", value1, value2, "createUserId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}